home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / SLAX 6.0.8 / slax-6.0.8.iso / slax / base / 006-devel.lzm / usr / include / kjs / global.h < prev    next >
Encoding:
C/C++ Source or Header  |  2008-09-09  |  1.8 KB  |  56 lines

  1. /* kjs/global.h.  Generated from global.h.in by configure.  */
  2. // -*- c-basic-offset: 2 -*-
  3. /*
  4.  *  This file is part of the KDE libraries
  5.  *  Copyright (C) 2002 David Faure (david@mandrakesoft.com)
  6.  *
  7.  *  This library is free software; you can redistribute it and/or
  8.  *  modify it under the terms of the GNU Lesser General Public
  9.  *  License as published by the Free Software Foundation; either
  10.  *  version 2 of the License, or (at your option) any later version.
  11.  *
  12.  *  This library is distributed in the hope that it will be useful,
  13.  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
  14.  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  15.  *  Lesser General Public License for more details.
  16.  *
  17.  *  You should have received a copy of the GNU Lesser General Public License
  18.  *  along with this library; see the file COPYING.LIB.  If not, write to
  19.  *  the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
  20.  *  Boston, MA 02110-1301, USA.
  21.  *
  22.  */
  23.  
  24. #ifndef KJS_GLOBAL_H
  25. #define KJS_GLOBAL_H
  26.  
  27. // maximum global call stack size. Protects against accidental or
  28. // malicious infinite recursions. Define to -1 if you want no limit.
  29. #define KJS_MAX_STACK 1000
  30.  
  31. // we don't want any padding between UChars (ARM processor)
  32. #if defined(__GNUC__) || defined(__INTEL_COMPILER)
  33. #define KJS_PACKED __attribute__((__packed__))
  34. #else
  35. #define KJS_PACKED
  36. #endif
  37.  
  38. /* #undef __KDE_HAVE_GCC_VISIBILITY */
  39.  
  40. #ifdef __KDE_HAVE_GCC_VISIBILITY
  41. #define KJS_EXPORT __attribute__ ((visibility("default")))
  42. #else
  43. #define KJS_EXPORT
  44. #endif
  45.  
  46. #ifndef NDEBUG // protection against problems if committing with KJS_VERBOSE on
  47.  
  48. // Uncomment this to enable very verbose output from KJS
  49. //#define KJS_VERBOSE
  50. // Uncomment this to debug memory allocation and garbage collection
  51. //#define KJS_DEBUG_MEM
  52.  
  53. #endif
  54.  
  55. #endif
  56.